package com.jack.oopTest;

public class Manage extends Employee {
    private String department;

    @Override
    public void show() {
        super.show();
        System.out.println("所管部门："+department);
    }

    public Manage(String name, String address, float salary, String department) {
        super(name, address, salary);
        this.department = department;
    }

    public Manage(String department) {
        this.department = department;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}
